package com.tlw.practice.tlw.service;

import com.tlw.practice.tlw.entity.UserEntity;
import com.tlw.practice.tlw.pojo.dto.UserDto;

import java.util.List;

public interface UserService {

    /**
     * 登陆
     * @param username
     * @param password
     * @return
     */
    String login(String username, String password);

    UserDto getUserInfoByUsername(String username);

    String getUsernameById(String userId);


}
